package main

import "fmt"

type Foo struct {
	id int
	name string
}

func main(){
	var a [5]Foo
	a[0].id=1
	a[0].name="zs"
	fmt.Println(a)

	b:=[]Foo {{1,"name"},{2,"ls"}}
	fmt.Println(b)
}
